<?php

namespace App\Models\ProjectManager;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Http\Requests\projectManager;

class StoreItems extends Model
{
    use HasFactory;

    protected $primaryKey = "id";
    protected $table = "store_items";
    public $timestamps = false;

    protected $fillable = [
        "project_name",
        "local_path",
        "userId",
        "create_time",
        "update_time",
        "remark"
    ];

    public function IdeType(){
        return $this->hasMany(IDEType::class,"item_id","id");
    }
}
